wayland: Position popups relative to the parent surface
authorJonas Ådahl <jadahl@gmail.com>
Fri, 22 May 2015 08:39:31 +0000 (16:39 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 10 Jun 2015 02:50:12 +0000 (10:50 +0800)
commit0f47d1bac4e859fd99fac30b41f3523cb5db7f7e
tree39cfbf93ce06af3190904eb094f839a9ff9c6899
parentecebdfc58ce93f1988a0a2765aac3536607b4e1d
wayland: Position popups relative to the parent surface

According to the xdg-shell protocol specification the (x, y) coordinates
passed when creating a popup surface is relative to top left corner of
the parent surface, but prior to this patch, if the parent surface
was an xdg_surface, we'd position it relative to top left corner of the
window geometry of that xdg_surface.

https://bugzilla.gnome.org/show_bug.cgi?id=749717
gdk/wayland/gdkwindow-wayland.c